<extend name="Public/base"/>

<block name="body">
    <!-- 标题栏 -->
    <div class="main-title">
        <h2>导入预览</h2>
    </div>
    <div class="clearfix" style="padding: 15px; size:1em; font-size:19px;">
    预览前10条
    </div>
    <!-- 数据列表 -->
    <div class="data-table with-padding">
        <table class="table table-bordered table-striped ">
            <thead>
            <tr>
                <th class="">id</th>
                <th class="">所属单位</th>
                <th class="">名称</th>
                <th class="">班级</th>
                <th class="">批次号</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.title}</td>
                        <td>{$vo.realname}</td>
                        <td>{$vo.depart}</td>
                        <td>{$vo.batch}</td>
                    </tr>
                </volist>
                <else/>
                <td colspan="10" class="text-center">{:L('_ADMIN_USER_EMPTY_')}</td>
            </notempty>
            </tbody>
        </table>
        <form action="__SELF__" method="post">
            
            <input type="hidden" name="batch" value="{$_list[0]['batch']}" />
            <input type="submit" value="确认导入" class="btn submit-btn " onclick="javascript:if(confirm('确实要导入吗?')){return true;}else{return false;}"/>
        </form>
    </div>
    <div class="with-padding">
        {$_page}
    </div>
</block>

<block name="script">
    <script src="__CSS__/status.css"></script>
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
    
    <script type="text/javascript">
       
        //导航高亮
        highlight_subnav("{:U('index')}");
    </script>
</block>